package com.rustic.server.bean;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 微信配置
 *
 * @author Chen Jiahui
 */
@Data
public class WeixinConfig implements Serializable {

    /**
     * 名称
     */
    private String name;

    /**
     * appid
     */
    @NotEmpty(message = "appId不能为空")
    private String appId;

    /**
     * appSecret
     */
    @NotEmpty(message = "appSecret不能为空")
    private String appSecret;

}
